host-interaction/process

get current process command line

rule:
  meta:
    name: get current process command line
    namespace: host-interaction/process
    authors:
      - william.ballenthin@mandiant.com
    scopes:
      static: function
      dynamic: span of calls
  features:
    - and:
      - os: linux
      - api: open
      - string: "/proc/self/cmdline"
      - api: read

last edited: 2026-06-19 08:12:44